package xinyu.customer.login.data;


import com.logos.common.source.network.entity.BaseNetEntity;

import xinyu.customer.bean.UserEntity;

public interface LoginDataSource {

    interface LoginCallback {

        void onLoginComplete(BaseNetEntity<UserEntity> result);

        void onFailed(int errorId, String errorMessage);
    }


    void getLoginData(String phoneNum, String password, LoginCallback callback);


}
